#!/bin/bash
/sbin/ifconfig eth0 | grep "inet " | sed 's/.*addr:\([0-9.]*\).*/\1/g'

